﻿namespace GmPrizedrawTool
{
    /// <summary>
    /// 禁止刷怪地图坐标
    /// </summary>
    public class DisableMap
    {
        /// <summary>
        /// 地图
        /// </summary>
        public string MapName { get; set; }
        /// <summary>
        /// 地图编码
        /// </summary>
        public string MapCode { get; set; }
        /// <summary>
        /// 区域范围
        /// </summary>
        public bool Area { get; set; }
        /// <summary>
        /// 位置限制
        /// </summary>
        public Position Position { get; set; }

    }
    public class Position
    {
        /// <summary>
        /// 左上角x坐标
        /// </summary>
        public int LeftX { get; set; }
        /// <summary>
        /// 左下角y坐标
        /// </summary>
        public int LeftY { get; set; }
        /// <summary>
        /// 右上角x坐标
        /// </summary>
        public int RightX { get; set; }
        /// <summary>
        /// 右下角y坐标
        /// </summary>
        public int RightY { get; set; }
    }

    /// <summary>
    /// 地图信息实体
    /// </summary>
    public class GameMapInfo
    {
        /// <summary>
        /// 地图代码
        /// </summary>
        public string MapCode { get; set; }
        /// <summary>
        /// 地图名字
        /// </summary>
        public string MapName { get; set; }
        /// <summary>
        /// 地图左上X坐标
        /// </summary>
        public int LeftX { get; set; }
        /// <summary>
        /// 地图左上Y坐标
        /// </summary>
        public int LeftY { get; set; }
        /// <summary>
        /// 出生点X位置
        /// </summary>
        public int BirthX { get; set; }
        /// <summary>
        /// 出生点Y位置
        /// </summary>
        public int BirthY { get; set; }
        /// <summary>
        /// 地图大小：400*400、200*200
        /// </summary>
        public int MapLenth { get; set; }
    }
}
